#pragma once


// CDlgSelect2 dialog
#include "Resource.h"

class CDlgSelect2 : public CDialog
{
	DECLARE_DYNAMIC(CDlgSelect2)

public:
	CDlgSelect2(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgSelect2();

// Dialog Data
	enum { IDD = IDD_DLG_SELECT2 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
	DECLARE_MESSAGE_MAP()
public:
	CSliderCtrl m_sliderselect1;
	int m_stcselect1;
	afx_msg void OnNMCustomdrawSliderSelect1(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
	int m_Min1, m_Max1,m_Cur1;
	int m_Min2, m_Max2,m_Cur2;
	// SetSliderRang
public:
	void SetSliderRang(int min1, int max1,int cur1,int min2, int max2,int cur2);
	// GetSelectNum
	int GetSelectNum1(void);
	int GetSelectNum2(void);
	virtual BOOL OnInitDialog();
//	virtual BOOL Create(LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL);
	CSliderCtrl m_sliderselect2;
	int m_stcselect2;
	afx_msg void OnCustomdrawSliderSelect2(NMHDR *pNMHDR, LRESULT *pResult);
};
